<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/include/top.jsp"%>

<c:if test="${empty obj}">
	<b>没有符合条件的记录。</b>
</c:if>
<c:if test="${not empty obj}">

	<table id="listTable">
		<tbody>
			<tr>
				<th width="80%">待填报报表</th>
				<th>操作</th>
			</tr>
			<c:forEach var="oneRow" items="${obj}">
			<tr>
				<td align="left">${oneRow.reportDomainName}</td>
				<td align="left"><a href="#" id="tab_text01" onclick="openReportWin('${oneRow.reportTypeId}','${oneRow.reportTimetype}','${oneRow.reportUnitIndustry}','${oneRow.reportYearTime}','${oneRow.reportQuarter}','${oneRow.reportMonth}','${oneRow.status}');return false;">填报</a></td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
	<script>
	
	//填报
	function openReportWin(reportTypeId,reportTimetype,reportUnitIndustry,reportYearTime,reportQuarter,reportMonth,status){
		var url="${ctx}/reports/service.do?method=showCreateReport&reportOperatorId=${user.id}&reportProxyId=${user.id}&reportTypeId="+reportTypeId+
		"&timeType=" + reportTimetype + "&unitIndustryId=" + reportUnitIndustry + "&yearType=" + reportYearTime + "&quarterDate=" +
		reportQuarter + "&reportVersion=" + 1 + "&timeDate=" + reportMonth+"&status="+status;
		openWin("报表填报",url);
	}
	</script>
</c:if>

<%@ include file="/static/include/bottom.jsp"%>
